<div>
    <div class="ibox ">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="查询条件"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;">

            </div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-2">
                    <div class="form-group">
                        <select class="form-control form-control inline"
                            v-model="chainInoutOrderManageInfo.conditions.orderType">
                            <option selected value="">请选择出库类型</option>
                            <option value="1000">集采</option>
                        </select>
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请选择入库单号','chainInoutOrderManage')"
                            v-model="chainInoutOrderManageInfo.conditions.inOrderId" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryChainInoutOrderMethod()">
                        <i class="fa fa-search"></i> <span>
                            <vc:i18n name="查询" namespace="room"></vc:i18n>
                        </span>
                    </button>
                </div>
            </div>
        </div>
    </div>

    <div class="ibox">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="采集订单" namespace="chainInoutOrderManage"></vc:i18n>
            </h5>
        </div>
        <div class="ibox-content">

            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                <thead>
                    <tr>
                        <th class="text-center">
                            <vc:i18n name='订单ID' namespace='chainInoutOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='入库单号' namespace='chainInoutOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='申请人' namespace='chainInoutOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='供应商ID' namespace='chainInoutOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='供应商名称' namespace='chainInoutOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='订单状态' namespace='chainInoutOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='操作'></vc:i18n>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="chainInoutOrder in chainInoutOrderManageInfo.chainInoutOrders">
                        <td class="text-center">{{chainInoutOrder.orderId}}</td>
                        <td class="text-center">{{chainInoutOrder.inOrderId}}</td>
                        <td class="text-center">{{chainInoutOrder.personName}}</td>
                        <td class="text-center">{{chainInoutOrder.csId}}</td>
                        <td class="text-center">{{chainInoutOrder.csName}}</td>
                        <td class="text-center">{{chainInoutOrder.stateName}}</td>
                        <td class="text-center">
                            <div class="btn-group" v-if="chainInoutOrder.state == '1001'">
                                <button class="btn-white btn btn-xs"
                                    v-on:click="_openEditChainInoutOrderModel(chainInoutOrder)">修改</button>
                            </div>
                            <div class="btn-group" v-if="chainInoutOrder.state == '1001'">
                                <button class="btn-white btn btn-xs"
                                    v-on:click="_openDeleteChainInoutOrderModel(chainInoutOrder)">删除</button>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            <!-- 分页 -->
            <vc:create path="frame/pagination"></vc:create>
        </div>
    </div>

    <vc:create path="goods/addChainInoutOrder" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="goods/editChainInoutOrder"></vc:create>
    <vc:create path="goods/deleteChainInoutOrder"></vc:create>

</div>